package com.credithc.fastdfs.api.service;

import javax.servlet.http.HttpServletRequest;

import com.credithc.fastdfs.api.bean.UploadReqBean;
import com.credithc.fastdfs.api.bean.UploadResBean;
import com.credithc.fastdfs.api.exception.UploadException;

/**
 * @ClassName: FileUploadService
 * @Description: 文件上传接口
 * @author zhaoc
 * @date 2015年5月18日
 * @time 下午1:54:58
 */
public interface FileUploadService {
	
	/** 
	 * @Title: uploadTypeFile 
	 * @Description: 文档类型上传
	 * @param 
	 * @return boolean
	 * @throws 
	 */ 
	public boolean uploadTypeFile(UploadReqBean uploadReqBean,
			UploadResBean uploadResBean, HttpServletRequest request) throws UploadException;

	/** 
	 * @Title: uploadTypeImg 
	 * @Description: 图片类型上传
	 * @param 
	 * @return boolean
	 * @throws 
	 */ 
	public boolean uploadTypeImg(UploadReqBean uploadReqBean,
			UploadResBean uploadResBean, HttpServletRequest request) throws UploadException;
}
